package com.csi.okr.mobile.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OKR_版本_过程REVIEW表的实体类
 * 
 */
@Entity
@Table(name = "T_OKR_VERSION_REVIEW", schema = "PSGIS")
public class TOkrVersionReview implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String okrVersionReviewUuid;
	private String OVersionUuid;
	/**
	 * O唯一标识码
	 */
//	private String OCode;
	/**
	 * 责任人CODE
	 */
	private String createPersoncode;
	/**
	 * 归属部门CODE
	 */
	private String ownerDeptcode;
	/**
	 * 年度
	 */
	private BigDecimal OYear;
	/**
	 * 季度
	 */
	private String OQuarter;
	/**
	 * 月度
	 */
	private String OMonth;
	/**
	 * 填报时间
	 */
	private Serializable fillingTime;
	/**
	 * review人CODE
	 */
	private String reviewPersonCode;
	/**
	 * review人姓名
	 */
	private String reviewPersonName;
	/**
	 * review时间
	 */
	private Serializable reviewTime;
	/**
	 * review结束时间	
	 */
	private Serializable reviewEndTime;
	/**
	 * 状态
	 */
	private String reviewState;

	public TOkrVersionReview() {
	}

	public TOkrVersionReview(String okrVersionReviewUuid, String OVersionUuid) {
		this.okrVersionReviewUuid = okrVersionReviewUuid;
		this.OVersionUuid = OVersionUuid;
//		this.OCode = OCode;
	}

	public TOkrVersionReview(String okrVersionReviewUuid, String OVersionUuid, String createPersoncode,
			String ownerDeptcode, BigDecimal OYear, String OQuarter, String OMonth, Serializable fillingTime,
			String reviewPersonCode, String reviewPersonName, Serializable reviewTime, Serializable reviewEndTime,
			String reviewState) {
		this.okrVersionReviewUuid = okrVersionReviewUuid;
		this.OVersionUuid = OVersionUuid;
//		this.OCode = OCode;
		this.createPersoncode = createPersoncode;
		this.ownerDeptcode = ownerDeptcode;
		this.OYear = OYear;
		this.OQuarter = OQuarter;
		this.OMonth = OMonth;
		this.fillingTime = fillingTime;
		this.reviewPersonCode = reviewPersonCode;
		this.reviewPersonName = reviewPersonName;
		this.reviewTime = reviewTime;
		this.reviewEndTime = reviewEndTime;
		this.reviewState = reviewState;
	}

	@Id

	@Column(name = "OKR_VERSION_REVIEW_UUID", unique = true, nullable = false, length = 32)
	public String getOkrVersionReviewUuid() {
		return this.okrVersionReviewUuid;
	}

	public void setOkrVersionReviewUuid(String okrVersionReviewUuid) {
		this.okrVersionReviewUuid = okrVersionReviewUuid;
	}

	@Column(name = "O_VERSION_UUID", nullable = false, length = 32)
	public String getOVersionUuid() {
		return this.OVersionUuid;
	}

	public void setOVersionUuid(String OVersionUuid) {
		this.OVersionUuid = OVersionUuid;
	}

//	@Column(name = "O_CODE", nullable = false, length = 20)
//	public String getOCode() {
//		return this.OCode;
//	}
//
//	public void setOCode(String OCode) {
//		this.OCode = OCode;
//	}

	@Column(name = "CREATE_PERSONCODE", length = 12)
	public String getCreatePersoncode() {
		return this.createPersoncode;
	}

	public void setCreatePersoncode(String createPersoncode) {
		this.createPersoncode = createPersoncode;
	}

	@Column(name = "OWNER_DEPTCODE", length = 64)
	public String getOwnerDeptcode() {
		return this.ownerDeptcode;
	}

	public void setOwnerDeptcode(String ownerDeptcode) {
		this.ownerDeptcode = ownerDeptcode;
	}

	@Column(name = "O_YEAR", precision = 22, scale = 0)
	public BigDecimal getOYear() {
		return this.OYear;
	}

	public void setOYear(BigDecimal OYear) {
		this.OYear = OYear;
	}

	@Column(name = "O_QUARTER", length = 2)
	public String getOQuarter() {
		return this.OQuarter;
	}

	public void setOQuarter(String OQuarter) {
		this.OQuarter = OQuarter;
	}

	@Column(name = "O_MONTH", length = 2)
	public String getOMonth() {
		return this.OMonth;
	}

	public void setOMonth(String OMonth) {
		this.OMonth = OMonth;
	}

	@Column(name = "FILLING_TIME")
	public Serializable getFillingTime() {
		return this.fillingTime;
	}

	public void setFillingTime(Serializable fillingTime) {
		this.fillingTime = fillingTime;
	}

	@Column(name = "REVIEW_PERSON_CODE", length = 12)
	public String getReviewPersonCode() {
		return this.reviewPersonCode;
	}

	public void setReviewPersonCode(String reviewPersonCode) {
		this.reviewPersonCode = reviewPersonCode;
	}

	@Column(name = "REVIEW_PERSON_NAME", length = 64)
	public String getReviewPersonName() {
		return this.reviewPersonName;
	}

	public void setReviewPersonName(String reviewPersonName) {
		this.reviewPersonName = reviewPersonName;
	}

	@Column(name = "REVIEW_TIME")
	public Serializable getReviewTime() {
		return this.reviewTime;
	}

	public void setReviewTime(Serializable reviewTime) {
		this.reviewTime = reviewTime;
	}

	@Column(name = "REVIEW_END_TIME")
	public Serializable getReviewEndTime() {
		return this.reviewEndTime;
	}

	public void setReviewEndTime(Serializable reviewEndTime) {
		this.reviewEndTime = reviewEndTime;
	}

	@Column(name = "REVIEW_STATE", length = 2)
	public String getReviewState() {
		return this.reviewState;
	}

	public void setReviewState(String reviewState) {
		this.reviewState = reviewState;
	}

}
